package com.thx.dbTest;

import com.thx.common.spring.BeanFactory;
import com.thx.dbTest.service.TestObjService;
import com.thx.dbTest.service.TestObjectService;

public class Main {

  /**
   * 测试 main.
   */
  public static void main(String[] args) {
    TestObjectService objectservice =
        (TestObjectService) BeanFactory.getBean(TestObjectService.class);

    objectservice.getObj();

    TestObjService objservice = (TestObjService) BeanFactory.getBean(TestObjService.class);

    objservice.getObj();

    TestObjectService objectservice1 =
        (TestObjectService) BeanFactory.getBean(TestObjectService.class);

    objectservice1.getObj();
  }

}
